package com.axjy.yycg.service;

import com.axjy.yycg.pojo.Menu;
import com.axjy.yycg.pojo.Sysuser;
import com.axjy.yycg.service.vo.TreeNode;

import java.util.List;
import java.util.Map;

public interface PermissionService {

    public Sysuser login(String userid,String pwd);

    public Map<Menu,List<Menu>> createNav(Integer id);

    public List<TreeNode> search4Tree(Integer roleId);

    public void grant4Role(Integer roleId,Integer[] mids);
}
